<template>
    <app-layout :memu-tree="memuData">
        <transition name="router-fade" mode="out-in">
            <router-view> </router-view>
        </transition>
    </app-layout>
</template>
<script>
import AppLayout from '../../components/AppLayout';

export default {
    components: {
        AppLayout,
    },
    data() {
        return {
            memuData: [
                {
                    path: '/analytics',
                    text: '订单报表',
                    icon: 'ios-cart',
                    subMemu: [
                        { path: '/order', text: '订单总览' },
                        { path: '/order/list', text: '订单列表' },
                        { path: '/order/monthly', text: '订单月度' },
                    ],
                },
                {
                    path: '/analytics',
                    text: '用户报表',
                    icon: 'ios-people',
                    subMemu: [
                        { path: '/user/order', text: '用户订单' },
                        { path: '/account/order', text: '推广订单' },
                    ],
                },
            ],
        };
    },
};
</script>

<style scoped lang="less">

</style>
